Fix cursor motion in bidi-reordered continued lines.
authorEli Zaretskii <eliz@gnu.org>
Sat, 29 May 2010 12:51:01 +0000 (15:51 +0300)
committerEli Zaretskii <eliz@gnu.org>
Sat, 29 May 2010 12:51:01 +0000 (15:51 +0300)
commitbd7ad94d6f6b37ce6957b204454e2f88289c45ad
tree07a095ebc272539559c74cd0b711809f8610d4c3
parent088af584c3ea7c152d7b84416272f081ef9cbd34
parent4823751b72ecf408ea8c553c19722ffad01453ef
Fix cursor motion in bidi-reordered continued lines.

 xdisp.c (try_cursor_movement): Backup to non-continuation line
 only after finding point's row.  Fix the logic.  Rewrite the loop
 over continuation lines in bidi-reordered buffers.  Return
 CURSOR_MOVEMENT_MUST_SCROLL upon failure to find a suitable row,
 rather than CURSOR_MOVEMENT_CANNOT_BE_USED.
src/ChangeLog